BarCode for WinForms 20112.47
New Features
- Added a new control to the assembly.
Bug Fixes
- Automatic encoding no longer fails for strings with lower-case characters.
- A bad assembly reference on one of the Visual Basic samples has been fixed.
- Fixed error message shown when assigning bad values to Encoding property.
- Descriptions have been added to a few properties that were missing them.
- Encoding no longer fails with Japanese/Chinese characters.
Chart for WinForms 2.0.20112.21181
New Features
- Added Japanese localization for ChartData.SeriesWidth.
- A new property, ChartData.SeriesWidth has been added. This property specifies the percentage of 3D series widths (Area and Ribbon charts). The default value is 100 percent. Values less than 100 percent provide gaps between adjacent series.
- Japanese localizations have been added.
Improvements
- Improved time y axis annotations for Gantt charts.
- Time axis major ticks values are now rounded more appropriately.
- The TrendLine.GetY() method has been extended to include Maximum, Minimum, Average and MovingAverage trendlines.
- PlotFilter methods now apply to log plots.
- Added explicit reference to 4x designer. This improves behavior when multiple versions of the Chart are installed on the same machine.
Changes
- Removed icons from headers in designer forms.
Bug Fixes
- Corrected problem with XYPlot series detection based on chart coordinates.This problem affects Tooltips with PlotElement set to Series, HighLight withPlotElement set to Series.
- Corrected problem where HighLight would activate during design time.
- The chart.PrintChart() overloads now print items drawn in the Paint event.
- Corrected problem with drawing of certain Candle charts.
- Charts element sizing is now more consistent with axis compass changes.
- Improved tooltip behavior for Ribbon charts.
- Some Japanese localizations related to the PlotArea (LocationDefault and SizeDefault) now read correctly.
- Time formatted axes are no longer incorrectly adjusted to a multiple of UnitMajor. This action was not intended for time formatted axes.
- Radar charts can no longer have negative radii.
- When requesting the design time dialogs with Japanese Visual Studio, a null exception message no longer occurs.
DataObjects for WinForms 2.0.20112.251
No changes.
C1DynamicHelp for WinForms 20112.46
Bug Fixes
- Fixed possible unhandled exception in the TopicMap.Refresh() method.
Editor for WinForms 20112.76
New Features
- Style Formatting dialog is replaced with new dialog with rich formatting abilities.
- Added "Style" property with built-in editor to all dialogs for tables, hyperlinks, bookmarks, and so on.
- Added new split button "Border" to C1EditorToolStripStyle toolbar.
- Added public property C1Editor.WebBrowser that returns a reference to the IWebBrowser2 interface for the current Editor mode. This will make advanced programming opportunities available for Editor.
- Disabled the "Ctrl o l" Web browser built-in shortcut.
Bug Fixes
- There is no longer an incorrect selection of source tags when HTML controls are selected in design view.
- The underline toolstrip button is deactived when the overline style is applied using the Formatting dialog box. Fixed.
- Double quotes are removed in the HTML tag and XML; The Lang attribute is now retained when saving and loading the XML file. Fixed.
- [VB -ContentEditable]The Source and Design buttons are now working.
- Performance is no longer slow when pasting Japanese text into the "Source" tab.
- The ".Net Framework license compiler has stopped working" error is no longer shown when building the project in Visual Studio 2008 and Visual Studio 2010 SP1.
- The specified font size now applies to all selected text.
- There is no longer a cusor delay when going to the next line when the cursor is at the first line of C1Editor.
- Duplicate bookmarks are no longer added to the bookmarks list when pressing the ENTER key after the bookmarked text.
- Applying changes to an XmlDocument, for example, applying a STRONG tag, no longer causes a delay when executing large documents.
- Enhanced code executing speed in C1TextRange methods IsStyleApplied, IsClassApplied, IsTagApplied.
- An unhandled exception is no longer observed when adding an image or flash file to a network location.
- A bug in the Image/Flash dialog box has been fixed. If the source file was on the same disk, it was not copied to the Project/Media folder.
- Cannot set hyperlink "target" attribute; the "rel" attribute is set instead. Fixed.
- The 'Delete' menu link is now shown in the table context menu.
- (DocToHelp)An unhandled exception is no longer seen when creating a new tag. Also, this bug caused raising of the DocumentChanged event when the mouse is moving.
- The cursor is no longer moved to a lower place when pressing "Backspace" or "Delete" in a list with a table inside.
- Removed default .NET icon from the "Localize" dialog box.
Excel for WinForms 20112.202
New Features
- Added print settings properties for the outline buttons place: XLSheet.OutlinesBelow property and XLSheet.OutlinesRight property.
- The XLSheet.TotalsBelowData class is deprecated.
- The MaxOutlineLevel property for indicating subtotals outlines in Excel worksheets has been added.
- Added the GetRangeToRepeat and SetRangeToRepeat methods for supporting rows to repeat at the top and columns to repeat to the left of the sheet print.
- Added new properties for XLPictureShape: BrightnessInPercents and ContrastInPercents.
Bug Fixes
- An "Error in value" error is no longer observed and "#VALUE!" is no longer seen in a cell with a text formula in XLS file format.
- The position of a string is no longer changed to BottomAligned in the output.
- Comments are no longer shown in an incorrect position.
- After loading and saving an excel file which has a '=SUM((B1,B2))' formula with C1Excel, the formula now works correctly in the new Excel file.
- ‘The given key was not present in the dictionary’ exception no longer occurs when loading the Excel file.
- The group and expand/collapse button is now shown for the column outline level when an Excel workbook is created and the outline is set.
- When the OutlineLevel property of columns are set and exported to Excel OpenXml format file, the data is no longer exported without the group/outline level information.
- One of the columns in the second sheet becomes invisible after saving using a different path and opening the file. Fixed.
- The "File error: data may have been lost." error is no longer shown when an .xlsx file that contains the 'SUM' formula and references cells is read and saved as an .xls file.
- A "null reference exception was unhandled" error is no longer thrown when loading an .xlsx Excel file which has data and charts.
- A calculation result is now reflected in the Excel file (*.xls) after output when the value is set in the reference cells of the formula.
- The sheet name contains invalid characters when acquiring a named range comment. This issue has been partly fixed.
- No image is found in an exported Excel file if ContrastInPercents is set as 100. Fixed.
- The BrightnessInPercents and ContrastInPercents properties of XLPictureShape are now set correctly in OpenXml format.
- Parts of comments in consecutive cells are no longer shown as blanks or missing after loading and saving an .xls file.
- You can now apply the author of a comment set by C1Excel using the Comments.Add() Method.
- An image now appears in the sheet in Biff8 format when setting 'XLPictureShape.Contrast' value to greater than '0.74f'.
- When the IFERROR() method is used, the concatenated value is now displayed correctly.
- The 'NullReferenceException' error no longer occurrs when loading an Excel file that has frozen panes.
- The 'Excel found Unreadable Content' error no longer occurs when loading and saving .xlsx files with a SheetName up to the maximum length of integers.
- The Tab color set in code can now be applied in the saved Excel file.
- After loading and saving by C1Excel, a pattern in merged cells is now retained in OpenXML format and is distorted in BIFF8 format.
- 'BackColor' now appears when loading .xls (Biff8) and saving to .xls (Biff8) with the Biff8 format.
- In an .xlsx to .xls save, the background color 'black' is shown in the cell while editing. Fixed.
- Fixed regression issue: an incorrect value is no longer displayed in a saved .xls file when the formula includes the SUMPRODUCT function.
- Pictures are now retained in .xlsx file (OpenXML Format) after loading and saving.
- Sheet names no longer contain invalid characters when acquiring a named range comment.
- An error value is no longer shown in the cell which has the SUMIF formula with a single cell range and sum range.
- A #VALUE! is no longer seen on saved .xls files when C1Excel contains a certain formula.
- An exception when using Medium Trust for a Website when saving has been fixed.
- Changed support Desktop, WPF and Silverlight versions in common code.
FlexGrid for WinForms 20112.625
New Features
Bug Fixes
- Setting SelectionMode == ListBox now updates the visual selection correctly.
- A painting issue in the outline button bar has been fixed.
- An issue with designer (http://our.componentone.com/groups/winforms/flexgrid-for-winforms/forum/topic/54197/) has been fixed.
- Logic for ShowCellLabels with WordWrap has been improved.
- An exception when clicking the separator in the Filter menu has been fixed.
- The CellChecked event now fires for all settings of EditOptions.
- SaveExcel now honors column width == 0.
- The CellChanged event now fires when the new value caused the data to be sorted.
- The numeric editor now handles typing over extended selections correctly.
- Canceling edits on a single new row now removes the row.
- The exception when opening a combo in the new row template, moving focus to a different control, and then trying to re-open the combo on the new row template has been fixed.
- Handling of the new row edit/cancel action has been fixed.
- Japanese date formatting in the Filter editor has been fixed.
- Clear could throw an exception if invoked after binding to a filtered DataView. Fixed.
- AccessibleObject is now returning the last column of the grid.
- The issue with column filter persistence has been fixed.
- New properties have been localized to Japanese.
- The Column.Editor property no longer gets lost when editing with the designer.
Improvements
- Improved precision of aggregate calculations (use decimal internally instead of double.
- The speed of ReadXml method has been improved.
Gauge for WinForms 20112.65
Bug Fixes
- Fixed a potential issue that may occur on a machine with multiple installed versions of C1Gauge for .NET 4.x and its designer dll (C1.Win.C1Gauge.4.Design.dll).
- C1.Win.C1Gauge.2.dll and C1.Win.C1Gauge.2.Design.dll are combined into a single dll (C1.Win.C1Gauge.2.dll) to avoid issues when multiple versions of C1Gauge and its designer dll are installed on the same machine. This change does not affect the version of C1Gauge for .NET 4.x.
Input for WinForms 2.0.20112.33266
Bug Fixes
- DropdownForm of C1DropDownControl closes when the user clicks on the dropdown of C1Combo placed on the drop-down form.
- Red rectangle is not displayed with today's date in dropdown calender.
- [C1NumericEdit] WindowForm crashed when Language property set to two languages simultaneously.
- Exception is observed on setting Value to String.Empty when datatype is set as Integer.
InputPanel for WinForms 2/4.0.20112.128
Enhancements
- Added a bunch of ShowToolTip() methods to C1InputPanel:
- public void ShowToolTip(string text, Control control, Point pt)
- public void ShowToolTip(string text, Control control, Point pt, int duration)
- public void ShowToolTip(string text, Control control, int x, int y)
- public void ShowToolTip(string text, Control control, int x, int y, int duration)
- public void ShowToolTip(InputComponent inputComponent, Point pt)
- public void ShowToolTip(InputComponent inputComponent, Point pt, int duration)
- public void ShowToolTip(InputComponent inputComponent, int x, int y)
- public void ShowToolTip(InputComponent inputComponent, int x, int y, int duration)
- The methods show the rich tooltip for a given control or InputComponent at the specified location for a specified amount of time.
- Added the HideToolTip method to C1InputPanel.
- Added the ScrollIntoView method to C1InputPanel. The method scrolls the specified InputComponent into view.
Changes
- Fixed a bug: InputComboBox, InputMenu and other like elements can't be "dropped-down" if the C1InputPanel control is embedded into an unmanaged VB6 form using Microsoft InterOp-Toolkit.
- Fixed an issue: inconsistent license key is observed sometimesin the Deactivate License Dialog.
- The GetItemRectangle() method of C1InputPanel is renamed to GetItemBounds(). The previous version of this method is still available at run time for backward compatibility.
- Also, added an overloaded version of the GetItemBounds() method: GetItemBounds(InputComponent inputComponent, InputElementType elementType)
- Here the elementType parameter sets the type of the specific element in the input component whose bounds are calculated. It may be set to one of the following values: WholeComponent, ContentElement, ToolTippedElement.
- Removed dummy comments from the XML documentation file.
- Fixed an issue: pressing the Delete key in C1InputPanel Item Collection Editor has no effect.
- Fixed an issue in C1InputPanel: a NullReferenceException was thrown when trying to close the owner Form in the Click event of an InputButton if this button is located in a menu or split button's drop-down list.
- Fixed an issue where the C1InputPanel's tooltip did not show after the mouse hovered over the panel's input components.
- Fixed multiple issues that were observed in InputNumericBox after entering "1eo60" or "1e-80".
- Fixed an issue where the "1.123456789e-5" or "1.123456789e5" values were not formatted in an InputNumericBox although the "Format" property was set to "G5".
- Fixed an issue where the value outside the bounds was able to be passed to a data source without any validation when the Tab key was pressed in InputNumericBox.
- Fixed an issue where the OverFlow exception was thrown after typing '1eo60' into an InputNumericBox.
- Fixed multiple issues that were observed with the Format property of InputNumericBox.
- Fixed an issue where the ToolTip did not appear for InputImage. The same issue occurred in an InputLabel when its Padding was set to a positive value.
- Fixed a bug in InputProgressBar where the Click event did not fire sometimes.
- Fixed an issue where the IndexOutOfRangeException was thrown after typing ore than 29 digits into an InputNumericBox.
- Fixed a potential issue that may occur on a machin with multiple installed versions of C1InputPanel for .NET 4.x and its designer dll (C1.Win.C1InputPanel.4.Design.dll).
List for WinForms 2/4.1.20112.183
-
New Features
- Added ToolTip property to ComboBox
- Added the SelectionChangeCommitted event.
-
Bug Fixes
- Fixed a bug where, in Office2007xxx visual styles, the hover effect was disabled when the user changed the EditorBackColor property to non-default value.
- Fixed an issue where a drop-down button was changed to no border style when FlatStyle was flat.
- When maximizing the a form containing a C1List that is bound to more data rows than can be visible in the List, previously hidden rows are not visible. Fixed.
- When C1List is placed inside nested container, the vertical scrollbar of C1List is starting in the wrong position and showing partially the first row
- Fixed a bug where the detection of the cell always indicated the first row layout columns in a MultipleLines DataView List.
- Fixed an issue where a drop-down button was changed to no border style when FlatStyle was flat.
- Visual Studio crashes when setting C1DataSource to C1List for entity framework data. Fixed.
Menus and Toolbars for .NET 2/4.0.20112.19488
New Features
- Added the Theme property to C1NavBar. This property represents a set of color properties used to customize the appearance of C1NavBar. The theme colors are reset when the VisualStyle property is changed to a new value, and some theme colors have effect only with certain visual styles.
- List of the Theme properties, which have effect in Classic, OfficeXP, Office2003 visual styles:
- BorderColor
- ButtonNormalGradientBegin
- ButtonNormalGradientEnd
- ButtonPressedGradientBegin
- ButtonPressedGradientEnd
- ButtonHighlightedGradientBegin
- ButtonHighlightedGradientEnd
- ButtonCheckedGradientBegin
- ButtonCheckedGradientEnd
- ButtonNormalForeColor
- ButtonPressedForeColor
- ButtonHighlightedForeColor
- ButtonCheckedForeColor
- PanelHeaderGradientBegin
- PanelHeaderGradientEnd
- PanelHeaderForeColor
- GripGradientBegin
- GripGradientEnd
- SeparatorNormalColor
- SeparatorLightColor
- SectionHeaderGradientBegin
- SectionHeaderGradientEnd
- SectionHeaderForeColor
- List of the Theme properties, which have effect in WindowsXP visual style:
- BorderColor
- ButtonNormalForeColor
- PanelHeaderForeColor
- ButtonHighlightedGradientBegin
- ButtonHighlightedGradientEnd
- ButtonPressedGradientBegin
- ButtonPressedGradientEnd
- SeparatorNormalColor
- SectionHeaderForeColor
- Note, Theme does not have effect in Office2007, Office2010 visual styles.
- The CloseBoxPositionEnum property was added to C1DockingTab. This property gets or sets the position of the close box.
- A new enumeration class, CloseBoxPositionEnum, was added to the API. This enumeration creates the following options:
- Default - The default position of close box.
- ActivePage - The close box appears on the active tab.
- All Pages - The close box appears on all times.
Fixes
- Docking a DockingTab/Page to right or left pushes the control to the top and docks the DockingTab/Page in the entire area. Fixed.
- The 'object of type System.EventHandler..." exception no longer occurs.
- Fixed an issue that occurred when closeBox was set to AllPages.
- Fixed an issue where text and images in the tab header were not displayed after setting the closeBox property to AllPages.
- Fixed an issue where the C1DockingTab was unable to dock even if the AutoHide button was clicked after seting the closeBox property to AllPages or ActivePage.
- Fixed an issue where the theme color of the C1NavBar was not retained at design time after saving the form, closing it, and opening it again.
- Fixed a C1ToolBar issue where the Border was not removed when the Border was disabled for Office styles.
- The Validating event of the TextBox is no longer fired when it is placed on the tab and the AutoHiding button is clicked.
- The ShowCaption property is now working in C1DockingTab.
- C1TopicBar is now refreshed upon changing the value of RightToLeft from the property grid.
- Dragging a C1DockingTab outside of the form and double-clickit it to dock it back positions it on a different location of the form. fixed.
- The layout of the StatusStrip and MenuStrip controls are now restored correctly by the RestoreLayout method.
- Fixed an issue where, at run time, the PanelHeaderFont property was not applied in NavBar panel header.
- Focus is now returned back to the TextBox inside the C1DockingTab when its Validating event is cancelled.
- The Validating event no longer fires for every TextBox when a tab is changing.
- The second horizontal toolbar is no longer shown below the first in C1CommandDock at design time.
- The layout is now restored correctly when the RestoreLayout method is used.
- The ToolBar is now shown when it is placed inside the C1Sizer control.
- Fixed an issue where labels that were added to the form would hide behind the C1DockingTab page under certain scenarios.
- A window in a floating state can now be moved using a mouse.
- The C1DockingTab can now be resized as required.
- The position of a container placed on a C1DockingTab control is automatically changed after the form is closed and reopened. Fixed.
- C1DockingTab no longer creates a C1ContextMenu internally without releasing it.
- Added some JPN translation strings.
- RestoreLayout no longer causes a floating tab to have an error when it is dragged.
- The C1DockingTab's ArgumentOutOfRangeException is no longer thrown after setting the ItemSize property.
- An exception is no longer thrown if the width of a docking tab is reduced and the VisualStyle property is set to one of the Office 2007 themes.
- Fixed a probable WinForms 4.x designer issue that may occur on a machine with multiple installed versions of the same designer dll.
Pdf for WinForms 20112.175
New Features
- Added a new RotateAngle property to C1PdfDocument.
- Changed load font data: it is now blocking loading instead of all loading. This is for the fix for the Windows XP load font bug.
- A "General error in GDIo occurs" exception no longer occurs in a multithreaded application.
- The following regression bug has been fixed: rendered text vanished when ‘StringFormat’ is set as ‘DirectionVertical’.
- A rendered sentence no longer disappears if RoateAngle is greater than 55.
- Text no longer gets clipped if the DrawString method with RectangleF is used together with RotateAngle.
- RotateAngle is different from strings that are drawn using the DrawString method with the PointF and RectangleF parameters although the same value is set to the ‘RotateAngle’ property.
- Entire strings are now drawn when rotating the text if the DrawString method with PointF parameter is used.
- Microsoft Visual Studio shows a warning message when opening the solution file for the ‘PdfTables’ sample.
- Support to rotate text at an angle is now provided.
- Issues no longer occur when a report containing a field with ‘TextDirection=Up/Down’ is exported (PDF export part).
- When an EMF file is exported to a .pdf file, Japanese text is now shown correctly.
- Vertical text in a metafile image is now displayed correctly.
- New line position changes when setting RectangleF in an argument of the DrawString method. Fixed.
- The right side of the characters in a metafile image no longer gets clipped.
- The exception when using Medium Trust for a website has been fixed.
Improvements
- Improved rendering HTML over remote connections.
Reports for WinForms 2.6.20112.54408
New Features
- New public event added to C1MultiDocument: ItemLoaded. Occurs when the report or document represented by an item is loaded into memory (deserialized) prior to generation, but after processing of any parameters. This event allows to programmatically adjust the properties of the report or document before it is generated. For instance, the data source of a C1Report may be assigned here.
- New public method added to C1PrintDocument: public bool HasEditableTags(); Checks whether the document contains any tags that can be entered or changed in the tags input dialog. Note that this method does NOT check the value of C1PrintDocument.ShowTagsInputDialog property.
- C1MultiDocument: in addition to C1PrintDocument, now C1Report and C1RdlReport objects can be added to a C1MultiDocument. If any reports within a multi-document require parameters, they are requested prior to generating the multi-document.
- C1MultiDocument: added outline support. A collection of outline nodes specific to the multi-document may be specified via the C1MultiDocument.Outlines property. The resulting outline (e.g. for the preview) is built as a combination of outline nodes in that collection and outline nodes in the contained documents. Outlines support is provided by the following properties and methods:
- C1MultiDocument.Outlines {get;}
- C1MultiDocument.MakeOutlines();
- C1MultiDocumentItem.Outlines {get;}
- C1MultiDocumentItem.OutlineNode {get;set;}
- New public events added to C1MultiDocument: ItemGenerating, ItemAdding, ItemAdded, ItemRemoving, ItemRemoved, ItemsClearing, ItemsClear.
- New public method ClearGeneratedPages() added on C1MultiDocument, C1PrintDocument, C1Report, C1RdlReport. This method allows to clear generated pages and other data without deleting the content of a document or report, so that it can be regenerated.
- New public properties added on C1MultiDocument:
- object UserData {get;set;}
- bool IsGenerating {get;set;}
- New public property added on C1RdlReport: EmfType {get;set;}
- Improved performance when serializing styles.
Changes
- Properties defined in user types derived from C1PrintDocument, RenderObject or other C1 types are now excluded from C1D/X serialization by default. If you have your own types derived from C1 types, and are sure that you need those properties to be serialized, mark them with either XmlElementAttribute or XmlAttributeAttribute. (If an exception occurs during serialization, that exception now contains a Log property that might help identify the problem.)
Bug Fixes
- Fixed bug when C1Report.RecordsPerPage property processed incorrectly if report contans groups - page break not inserted between groups.
- Fixed bug when exception occurs during C1Report rendering if it contains subreport and subreport contains field with [PageNo] tag.
- Fixed bug in C1ReportDesigner when error occurs on previewing report when the last preview was canceled.
- Fixed bug when exception occurs during importing C1Report into C1PrintDocument via ImportC1Report method when report template contains paramters without value.
- Fixed unstable bugs which occurs when C1Report/C1PrintDocument used in multithreading enviroment.
- Fixed bug when report rendered incorrectly if it is multicolumn and pagebreak occurs within section.
- Fixed bug when field does not align/position correctly if report contains subreport which splits and Layout.MarginLeft was changed in C1Report.StartPage event.
- Fixed bug when licensing window is displayed when C1MultiDocument used under licensed C1ReportViewer.
- In C1PrintDocument's tags input form, now an up/down spanner is used instead of a dropdown calendar for DateTime input if the format is time.
- When deserializing very large C1PrintDocument objects, use a temporary disk file instead of memory. This helps avoid out of memory exceptions in certain scenarios, e.g. when previewing a large C1MultiDocument.
- Suppress Windows events processing if C1MultiDocument.DoEvents is false.
- Fixed: invalid page numbers appeared in previvew thumbnails when a C1MultiDocument containing certain C1Report objects was shown in the preview.
- Added public methods to remove items from a C1MultiDocument: C1MultiDocument.Items.Remove()/RemoveAt().
- Fixed: when using certain printer/paper size combinations, preview print dialog showed incorrect paper kind and/or orientation.
- Fixed: in rare cases, C1Report sections would overlap when rendering reports with sub-reports that split between pages.
- Fixed: in export to Excel, formatting of tables that did not have visible grid lines could be corrupted.
- Fixed: in rare cases, the last line of an RTF text would not show.
- Fixed: certain font specifications were ignored. This affected fonts that had both Macintosh and Windows names specified in their 'names' table, one such font is "Akzidenz-Grotesk Std Light".
- Assign a default name ("C1Document") to the print job when a document without a user specified name is printed. This avoids problems when printing to Adobe Acrobat X and some other virtual printers (output file is not created).
- Fixed: C1PageSettings.ToPageSettings() method always returned page settings with "custom" paper kind (even though the size was correct).
- Japanese text fixed in design time report picker form.
- Fixed object placement bug occurring with data-bound render objects.
- Fixed several issues when exporting report fields with up or down text direction to PDF.
- Fixed: if a report custom field's text was changed by the custom field code, that change was ignored if the report was rendered to Excel.
- Fixed error when saving a report to .docx without pagination.
- Fixed export of hyperlinks with C1LinkTargetAnchor to RTF.
- Added UpcE to supported barcodes.
- Fixed: wrong positioning of strings with alignment set to "justify" and TextDirection "down".
- Added new Japanese translations.
- Fixed a rare OS-dependent bug that could cause a "Font is not a TrueType font" exception when generating a report.
- Fixed: in C1PrintDocument, BreakBefore/BreakAfter settings on a render object were ignored if that object was within a table with grid lines.
- Fixed: on some systems, the size of RenderImage changed when certain screen resolutions were selected.
- Fixed: padding in table cells was not exported correctly to HTML/XLS/XLSX.
- Fixed: C1Report could not handle SQL queries starting with "transform" keyword.
- Fixed an issue in serialization exception log.
- Removed runtime-only C1PrintDocument.DocumentInto.UserData from design time property editor.
- Fixed serialization issues with certain colors (in particular, this could affect colors in C1MultiDocument).
- .NET 4.0 build only: added explicit references to designer assemblies. This fixes issues when multiple versions of C1Report are installed on the same system.
- Fixed: RTF export without pagination did not always preserve the correct page orientation.
- Fixed a memory leak in DetachToolStrip (occurred when a form with C1PrintPreviewControl was opened and closed repeatedly).
- Better diagnostics when trying to open a file in unknown/unsupported format.
- Fixed: outlines in C1MultiDocument were not displayed in outline view.
Ribbon for WinForms 2/4.0.20112.340
New Features
- Added the ReadOnly boolean property to the following ribbon elements: RibbonTimePicker, RibbonDatePicker, RibbonNumericBox, RibbonTextBox, RibbonComboBox. The property specifies whether the contents of the component can be changed by the user.
- Added a few Japanese strings for design-time localization.
- Added the new SupportsKeyTips property to the Ribbon control. The property indicates whether the Ribbon can show KeyTips when the user presses the Alt/F10 keys. It may be useful for old applications which aren't compatible with the KeyTip concept.
Improvements
- Ribbon templates slightly updated.
- Removed dummy XML comments from some protected methods.
- Now the internal popup forms are disposed each time when the user closes the corresponding popup menu or a drop-down element. In the previous builds, the value of Application.OpenForms.Count might grow while the application is running because the popup forms were not disposed until the RibbonForm is closed.
Changes
- C1.Win.C1Ribbon.2.dll and C1.Win.C1Ribbon.2.Design.dll are combined into a single dll (C1.Win.C1Ribbon.2.dll) to avoid issues when multiple versions of C1Ribbon and its designer dll are installed on the same machine. This change doesn't affect the version of C1Ribbon for .NET 4.x.
Bug Fixes
- Removed a white line that appeared inside the QAT when there was no ribbon item added.
- A NullReferenceException is thrown after pressing the Enter key in a dropped down RibbonDatePicker. The issue was introduced in the previous build. Fixed.
- Fixed an issue where the QAT was displayed in C1Ribbon although the ribbon items were not added to the QAT.
- Fixed an issue where the C1Ribbon had to be deactivated twice with the Report Designer License Key.
- Fixed an issue where the C1Ribbon tabs' height was increased when the BelowRibbon property was set to True for the QAT and a regular form was used as the parent for the C1Ribbon control.
- Contextual Tabs are not displayed if the QAT appears below the Ribbon and a regular Form is used as the parent for the Ribbon control. Fixed.
- Some minor improvements to a RibbonNumericBox.
- Fixed an issue: "1.123456789e-5" and "1.123456789e5" values are not formatted in a RibbonNumericBox although the Format property is set to "G5".
- Fixed an issue: Overflow Exception was thrown after typing '1eo60' into a RibbonNumericBox.
- Fixed an issue where the drop-down porotion of a RibbonComboBox remained visible after navigating to another RibbonTab using KeyTips or by pressing the 'CtrloTab' keys.
- Fixed a bug in RibbonNumericBox: IndexOutOfRangeException was thrown after typing more than 29 digits into the numeric box.
- Fixed sporadic incorrect highlighting of a RibbonComboBox and other components with text edit portion when a user performs some actions using the keyboard.
- Hiding and showing some Ribbon elements via the "Hide/Show Ribbon Items" designer does not work properly. Fixed.
- When copying and pasting a C1Ribbon control, contextual tab groups are not added to the newly pasted Ribbon. Fixed.
- Fixed a bug in C1StatusBar: opening a form with a C1StatusBar in Visual Studio 2010 designer shows the form as changed. To get rid of this you have to save such a form once using a new C1Ribbon build (326 or newer).
- Ficxed an issue where C1ToolTips didn't appear for any Ribbon items after restoring C1Ribbon from the minimized state by double-clicking a Ribbon tab.
- Fixed an issue where the MouseEnter and MouseLeave events weren't fired or were fired incorrectly for the following Ribbon elements: RibbonGroup, RibbonTextBox, RibbonDatePicker, RibbonTimePicker, RibbonComboBox, RibbonNumericBox
- Fixed an issue where tabs were displayed outside of the Ribbon form upon clicking a minimized tab on a form displayed slightly outside of the screen.
- Fixed a bug that occurred when a C1Ribbon was hosted on a regular form. A double-click on a minized Ribbon tab hid the QAT item sand showed the QAT chevron button.
- Even after closing the main form the application does not end - its process continues working if any popup form displayed while the main form was open. This issue only occurs when [Application | Shutdown mode] is set to [when the Last form closes] in project settings of a Visual Basic project. Fixed.
- Fixed an issue where the Click event was not fired after clicking a RibbonToggleButton, RibbonSplitButton, or RibbonButton in an application menu displayed with KeyTips.
- Fixed an issue that occurred after deleting a RibbonContextualTabGroup using its dispose method. When this occurred, the associated RibbonGroups were not removed automatically from QAT and HOT lists.
- Fixed an issue where the RibbonTrackBar was visible on C1StatusBar even when setting Visible = False in a certain scenario.
- Fixed a few small issues that prevented using a C1Ribbon and C1StatusBar in the WindowFormsHost WPF element.
- Fixed a potential issue that may occur on a machine with multiple installed versions of C1Ribbon for .NET 4.x and its designer dll (C1.Win.C1Ribbon.4.Design.dll).
- Fixed an error where only the 'Localize...' link was shown in the Smart Tag when a control was accessed at run time.
- Fixed an isuse where checking/unchecking RibbonContextualTabGroup items did not work correctly in 'C1Ribbon-Hide/Show Ribbon Item' window
- Fixed an issue that occurred when setting 'BelowRibbon' to True for QAT at design time. When this occurred, the QAT is shown above the Ribbon at run time.
Scheduler for WinForms 20112.169
Breaking Changes
- If you use Appointment.Owner property (or set C1Schedule.GroupBy to "Owner"), either set OwnerStorage data bindings to the same data as ContactStorage, or use different data sources for OwnerStorage and ContactStorage.
- Changed behavior of the C1Schedule.BeforeViewChange event, it is fired before any change to the C1Schedule.ViewType property.
New Features
- Added Memo printing style localization. Added new PrintStyleTagStrings strings, make sure that you localized them from design-time localization dialog box. Updated Memo printing style (added localizable document tags). Updated PrintDocTemplates sample application.
- Added the SelectionType property to the BeforeContextMenuShowEventArgs class. Gets the SelectionType value determining the UI element type for which context menu is about to show. Use this property to customize context menu behavior or content depending on the current context.
- Added the SelectionType enum containing the following members.
- Added ColorMapping for the CategoryStorage. Note, default Categories have no color set and C1Schedule doesn't use Category.Color in the default UI.
- The CategoryMappingCollection class has been removed, use BaseObjectMappingCollection<Category> instead.
- Added the C1Schedule.BeforeGroupHeaderFormat event. This event occurs before the group header is formatted. Use it to alter default group header appearance. You can change group header style, tab shape or displayed content.
- Added new data storage to keep calendar owners.
- Added new OwnerStorage property to the C1ScheduleStorage class. Gets the ContactStorage object used to keep contacts which might be used as appointment owners.
- Added new constructors to the Appointment class: public Appointment(int key) and public Appointment(Guid key). Both constructors initialize a new instance of the Appointment class with the specified key.
- Added new constructors to the BaseObject-derived classes: Status.Status(int key), Status.Status(Guid key), Label.Label(int key), Label.Label(Guid key), Resource.Resource(int key), Resource.Resource(Guid key), Category.Category(int key), Category.Category(Guid key), Contact.Contact(int key), and Contact.Contact(Guid key). All constructors initialize a new instance of the object with the specified key.
- Added new methods to the Appointment class. GetAppointmentProperties() returns XML encoding of appointment properties. SetAppointmentProperties(string source) reconstructs appointment properties from the specified string.
Bug Fixes
- Fixed issue with not loading images from internet links.
- One extra appointment is created on moving recurrence appointment to other day. Fixed.
- Request to display the last week in view at Schedule MonthView. Fixed.
- MouseClick and MouseDoubleClick events do not get fired in C1Schedule. Fixed.
- The LastDate cannot be selected on C1Calendar. Fixed.
- On repeating the preview of 1 appointment, preview of all the appointments get displayed. Fixed.
Improvements
- Changed UI layout - group navigation buttons have been moved to the C1Schedule's title area.
- Improved printing styles layout for better space distribution.
- Added overflow arrow to the month and week printing styles. It is shown when not all appointments can be printed.
- Updated PrintDocTemplates sample.
- Improved performance at working with recurring events.
- Updated MultiUser sample shows how to use different data for ContactStorage and OwnerStorage.
Chart for WinForms 2.0.20112.21181
Bug Fixes
- Resolved some performance issues in check-as-you-type mode when spell checker works with C1Editor control.
SuperTooltip for WinForms 20111.90
Bug Fixes
- Fixed a potential design-time issue that may occur on a machine with multiple installed versions of C1SuperTooltip for .NET 4.x.
TrueDBGrid for WinForms 2.0.20112.61227
New Features
- Condition Filtering or C1FlexGrid-like filtering was added to TrueDBGrid.
- If you set the FilterBar property to False, and the C1DisplayColumn.FilterDropdown property to True, C1TrueDBGrid control will allow to use the new filters in the column.
- The data filtering feature follows the pattern used by C1FlexGrid. When users move the mouse over column headers, the grid displays a filter icon on the header. Clicking the icon invokes the filter editor which selects the data that should be displayed. Every column has a filter, and rows must pass all filters in order to be displayed. The built-in filters include value filter, which allows users to select specific values for display, as well as a condition filter, which allows them to specify conditions such as "Greater than" or "Contains".
- This feature does not change object model.
- Added Language property to allow control over the localization. The built-in localization supports following languages: English, Spanish, French, Italian, Portuguese, German, Dutch, Russian, Japanese, and Turkish.
- New C1TrueDBGrid1.PrintInfo.RowCanSplit property was added. Indicates whether the grid rows can split between pages. The default value is False. This new property helps to print very long text in columns on multiple pages.
Improvements
- On change C1TrueDbGrid.FilterBar value, FilterText and filters of all columns are clear.
- C1DataColumn.DefaultValue property takes effect in check boxes in the "new" row. By default, the if a column has checkbox presentation, then in the "new" row the check box is displayed in the indeterminate state. Now, if the DefaultValue of a column is "true" or "false", the check box is displayed in the corresponding state.
Bug Fixes
- Exception is observed when closing Form in MouseUp event.
- The BeforeUpdate event triggered twice when e.Cancel is set to True.
- Inconsistence between filtering data in Condition Filtering and data displayed in the grid.
- Setting the Filterbar property to true on an empty grid was throwing an exception.
- Dropdown is not correctly rendered when the column width is less default width of the dropdown.
- ArgumentException was thrown after clicking one of the column drop-down button.
- Multiple Issues in C1TrueDBGrid Filtering.
- When the DataView property is set to GroupBy, the desired cell cannot be selected. Fixed.
- Image of a column overlaps the caption of the column header when translate items in a grid by an image.
- Items in the column drop down is unable to select after setting the FilterMultiselect property is set to True.
- New data and row disappear in one scenario.
- Setting AllowSort to False at runtime does not reset the sort direction.
- The FetchRowStyle event does not fired when rows are group and column is sorted.
- Error image is shown on the check box position & check box becomes non clickable when cell is bound to class implement IDataErrorInfo interface.
- The focus skips directly to the last column of second split when using Tab key to navigate between splits.
Zip for WinForms 20112.76
Bug Fixes
- Fixed the IsZipFile method to return false when the stream doesn't support Seek. Seek is required for all Zip streams.
2011 v1
BarCode for WinForms 2.0.20111.43
No changes.
Chart for WinForms 2.0.20111.21027
New Features
- Added runtime user localizations by introducing SaveLocalizations() and LoadLocalizations() methods. These overloaded methods save and load XML translation tables, respectively, that translate internal strings at runtime.
- Radar chart now supports AlarmZones. The AlarmZones specify NearExtents and FarExtents in angles measured from the first item in the radar chart. The angle is specified in degrees or radians depending upon the ChartGroup.Radar object settings.
- The chart property and chart wizard dialogs can now be resized.
- Chart dialogs can now be maximized.
Improvements
- LoadLocalization() overloads can now reset the localization to its default state by passing a null argument.
Bug Fixes
- Corrected Xml documentation file for SaveLocalizations(byte[] byteArray) and LoadLocalizations(byte[] byteArray).
- Corrected behavior of Chart Properties and Chart Wizard Dialogs when changing the size by Maximizing and Restoring dialog.
DataExtender for WinForms
Bug Fixes
- The following bug fixes were made:
- The removing of a DataTable and its DataRelation referenced by a C1DataView, with a subsequent addition of a DataTable with the same name raises an exception. Fixed.
- Fixed a memory leak: C1DataView removed from C1DataViewSet doesn't release all resources.
DataObjects for WinForms 2.0.20111.250
New Features
- Added the SchemaContainer property to C1DataSet. The property returns the container object hosting the C1SchemaDef component in the data library. It allows, for example, binding event handlers to the business logic objects in the data library (such as C1DataSetLogic and C1TableLogic) from the main UI application.
- Added the SortComparisonMode property to C1DataSet, C1DataTable, and C1ExpressConnection. Also, added the enumeration type of the same name. Possible values for the new property:
-
- SortComparisonMode.C1Data - string comparisons are compatible with the previous versions of DataObjects for .NET (default value).
- SortComparisonMode.AdoNet - string comparisons are compatible with the standard ADO.NET objects, such as DataTable.
- SortComparisonMode.Ordinal - compare strings using ordinal sort rules based on the Unicode values of each character.
Bug Fixes
- Fixed issue where the C1ExpressTable1.ExpressConnection. Connection.SqlInfo.IdentityColumnLastValueSelect property is not set when binding with database.
- Fixed issue where C1Data does not read a table from Access2000 database with a column name Position.
- Fixed issue where DataLibrary.DataObjects.dll may contain a reference to mscorlib v4.0 in Visual Studio 2010 when TargetFramework is set to .NET Framework 2.0.
- Fixed issue where an exception was thrown when clicking Content in Help menu of the Schema Designer). The Content item has been removed from the Help menu.
- The autogenerated .config file for the Schema Designer might contain a wrong dependence on .NET Framework 4.0 assemblies. Fixed.
DynamicHelp for WinForms 2.0.20111.44
No changes.
Editor for WinForms 2.0.20111.69
New Features
- The AcceptsTab property is "true" by default.
- Increase or decrease indentation by pressing Tab or ShiftoTab.
- The ability to resize an image and keep the aspect ratio in C1Editor's design mode has been added.
- The ability to save pictures and video from Web to a local folder has been added.
- A feature that can be used to localize strings at design time has been added.
- The ReadOnly property has been added.
- The MaxLength property has been added.
- Databinding support has been enhanced: the Text and Xml properties are marked as Bindable, and the editor is able to update changes in bound Text and Xml properties.
- The Editor.CustomDialogs.MessageBox property has been added to support message box customizing.
- Support for resizing C1Editor's font using the C1Sizer/C1SizerLight control has been added.
- Code has been added to the C1EditorQuickStart sample to support CtrloP, CtrloN, and CtrloO shortcuts custom handling.
- Improved diagnostics for the C1Editor.XmlExtensions setting have been added: if one of the custom tags is incorrect, repeating, or is a duplicate of a standard XHTML tag, the ArgumentException with corresponding messages is thrown.
- The public property XHTMLItemBase.Node has been added to give direct access to XmlNode in edit dialog boxes (Table/Bookmark/Hyperlink etc.).
- The public property C1Editor.DefaultTitle has been added to set the initial value of the new document.
- Strings used in Doc-To-Help only have been prepared for Japanese localization.
- Japanese strings are always used for Japanese locale, even in the English release.
Changes
- The initial values of the Text and XmlExtensions properties have been changed to avoid their unwanted serialization in the designer.cs file.
- Changes for licensing have been made.
Bug Fixes
- Issues are no longer observed when two Editors are on one single form.
- Applying upper-case tags no longer throws an error when switching to source view.
- The StackOverflowException message seen when loading an HTML file that includes a meta tag in the first line has been fixed.
- Issues that occurred while formatting text outside of the <Fieldset> tag have been fixed.
- The Text and Xml properties have been added in the Properties grid of C1Editor.
- Japanese strings for messages have been localized.
- An unhandled exception is no longer raised when opening a specific document.
- An ArgumentException was unhandled exception no longer occurs when saving a file using the SaveXml method.
- In C1Editor, the maximum number of characters cannot be typed after the MaxLength property is set. Fixed.
- The content of the Source mode browser is now refreshed after saving a document with an automatic fix for the validation errors.
- The image path in an <img> tag no longer changes from absolute to a relative path when editing text in Design view.
- An extra <p> </p> no longer gets created after each paragraph in C1Editor when text is copied and pasted from a Word document.
- Files are now converted to XHTML when converting from RoboHelp for HTML (Doc-To-Help only).
- The names of the predefined values of the hyperlink target have been localized.
- The correct selection is now seen after merging row/columns when the row is selected using the Select Row option in the Select dropdown.
- The Object Reference not set.. error is no longer seen when converting a Word document to XHTML.
- Converting a manual output document to .xml and then opening the .xml file no longer causes the "validation errors" message to be seen.
- The Underline style is now removed when clearing the formatting using the Ctrl o Space keys.
- The Flash movie (OBJECT tag) begins to play its sound after the paragraph style is changed. Fixed.
- Buttons in the C1EditorToolStripStyle are now highlighted when the HTML contains <b>, <u>, <i>, and <strike> tags.
- A GDI leak is no longer observed in an application using C1Editor.
- The cursor no longer gets placed at the end of the internal hyperlink when pressing ENTER after the paragraph above it.
- Closing the Find dialog box using the Close button and then opening it again now sets the focus in the Find What textbox.
- The ['Find what' & Find Next'], ['Search all documents..' &'Replace All'] have the same shortcut keys in the Find and Replace dialog box.
- Multiple issues occurred when a Flash file was dragged and dropped on C1Editor in Design mode. Fixed.
- Editor.Selection no longer points to the wrong place in the DragDrop event handler.
Excel for WinForms 2.1.20111.186
New Features
- Support for Desktop, WPF, and Silverlight versions in common code has been added.
- Support of inline strings as one more value format of the Excel cell has been added.
- The CalculationMode workbook property of all formulas has been added.
- C1Excel supports row and column page breaks in Open XML format.
- Support for Excel comments, or notes, has been added.
Bug Fixes
- The exception seen when using Medium Trust for a Website has been fixed.
- Unlike other ComponentOne WinForms controls, the Deactivate dialog box shows a different license key than the SU license key. Fixed.
- The background color in the FlexGridExcel2010 product sample has been changed to white when loading an .xls file to C1FlexGrid.
- The performance problem that occurred when creating a new Excel file with 50,000 rows and 10 columns has been fixed.
- An error no longer occurs when loading an .xls file where the left-most cells have been converted to text from numbers.
- The value is now reflected when an Excel sheet is set with a formula where the calculation result is an empty string "" in the output.
- Fixed request to provide property to set Row to repeat at top and Column to Repeat at left in the page setup through C1Excel.
- C1Excel no longer hangs when loading an .xls file which contains a Drop Down control.
- When the OutlineLevel property of rows are set and exported to an Excel file, the data is no longer exported without group/outline-level information.
- The Unable to read file error message seen when opening a saved .xls file has been fixed.
- After setting a cell formula through formatting, the formula is now retained in the .xlsx output.
- Cell formatting when a BIFF8 file is loaded and saved using C1Excel has been partially fixed.
Flash for WinForms
New Features
- The hairline style is supported.
FlexGrid for WinForms 2.6.20111.605
New Features
- Added the Rows.GlyphRow property.
- Added EditFilter(col) and ClearFilter(col) methods to allow easy control over the filters from UI elements such as menus and toolstrips (see the FilterMenu sample).
- Added Chinese localization.
- A Language property has been added to allow control over localization.
- Added localization for the Polish culture (pl).
- Added Clipboard support methods: Cut(), Copy(), and Paste().
- Added Microsoft Office 2010 visual styles. The VisualStyle property has three new settings that match the look of Excel 2010: Office2010Blue, Office2010Silver, and Office2010Black.
Improvements
- Improved performance of paste operations on numeric cells.
- Improved RightToLeft implementation.
- Improved extended row/column selection.
- Improved AddNew behavior; it allows cancelling by pressing Esc (Escape) even after edits.
- Improved Rtl support.
- Improved handling of nullable types.
Bug Fixes
- The grid now honors RTL when printing merged cells.
- The Filter editor now honors RTL.
- The grid no longer throws an exception when holding down the Enter key while editing DateTime values.
- Adding columns to a data source no longer causes the grid to create a new column even when AutoGenerateColumns == False.
- The editor no longer allows entering decimal characters when it exceeds the MaxLength property.
- Fixed issue with Filter localization.
- Fixed issue with RightToLeft rendering.
- Automatic OLE drag state is disabled before showing context menus.
- Fixed issue with designer persistence. It is now working correctly for controls embedded in user controls.
- The accurate page count is shown in PrintDialog.
- Clipboard support now handles the SelectionMode settings correctly.
- Handle GDI exception when auto-sizing rows with empty cells. Fixed.
- SelChanged event fired more often than needed with SelectionMode == ListBox and Shift pressed. Fixed.
Gauges for WinForms 2.0.20111.62
No changes.
Input for WinForms 2.0.2011.33260
Bug Fixes
- Fixed an issue where the TodayDate rectangle is drawn on the current date when the 'TodayDate' is set to another date.
New Features
- New C1CheckBox control. In addition to the standard CheckBox functionality, C1CheckBox supports data binding to data source fields of Boolean, String, or Integer types, BorderStyle and BorderColor properties, and visual styles.
InputPanel for WinForms
New Features
- Added the following new features:
- Added a few new visual styles to C1InputPanel: Office2010Black, Office2010Blue, Office2010Silver and Windows 7.
- Added the FocusedComponent property to C1InputPanel. The property returns the component which has input focus.
- Added the Focused property to the InputComponent class: The property indicates whether the component has input focus.
- Added the EditImage property, which sets the image associated with the new button.
- Added the EditToolTip property, which sets the ToolTip text associated with the edit button.
- Added the ShowEditButton property, which specifies whether the new button should appear on the InputDataNavigator.
- Added the FocusedComponent property, which returns the component which has input focus.
- Added the Focused property, which indicates whether the component has input focus.
- Added the InputNavigatorEditingEventHandler event, which adds the Editing click event to the edit button.
- Added the Active property to the ToolTipSettings class. The property indiciates whether the ToolTip is currently active.
Changes
- Changed the default value for the ToolTipSettings.BorderColor property from SystemColors.InfoText to Color.Gray.
Bug Fixes
- Fixed an issue where KeyDown, KeyUp, and KeyPress events didn't fire on an InputComboBox when its "DropDownStyle" property was set to "DropDownList".
List for WinForms
Bug Fixes
- NullReference Exception thrown on called ClearItems() method where C1.Win.C1List.C1Combo is subclassed.
Menus and Toolbars for WinForms
New Features
- Added the following methods:
- C1TopicBarHitTestInfo: Returns information about the control at the current mouse position.
- C1TopicBarHitTestInfo HitTest(int x, int y) and C1TopicBarHitTestInfo HitTest(Point p): Returns information about the control at a specified point on the control surface.
Bug Fixes
- The following bugs were fixed:
- Focus is not returned back to the text box inside C1DockingTab although its validating event is cancelled.
- CloseButton and Collapse Button is not shown in C1NavBar when VisualStyle is set to System or WindowXP.
- Validating event does not fire for controls inside C1DockingTab.
- SaveLayout and RestoreLayout methods of C1DockingTab resizes C1DockingTabPages.
- If a command dock has multiple tabs with CombBoxes, and one combo box is dropped open, then a second tab is clicked on, the first tab migrates to where the click action happened.
- HitTest method does not respect scroll position of the C1TopicBar.
- After scrolling the scroll bar of C1TopicBar, CollapseButtons and Link images stay in the same position and do not move along with the scrollbar.
- An exception is thrown if the height of a docking tab is reduced when VisualStyle is set to Office2007.
- An exception is thrown when C1ToolBar is used in a multi-threaded environment.
- Tab is displayed as a cross in red when the form is maximized/minimized.
- Menu expands in the upward direction in MDI child form.
PDF for WinForms 2.1.20111.165
New Features
- Support has been added for various widths of the characters for the DrawString method:
-
- public in , Font font, Brush brush, RectangleF rc, int firstChar, StringFormat sf, float widthCoeff)
- public int DrawString(string text, Font font, Brush brush, PointF pt, StringFormat sf, float widthCoeff)
- public int DrawString(string text, Font font, Brush brush, PointF pt, float widthCoeff)
- Support for stream-based attachments has been added. The two new AddAttachment overloads are:
-
- public void AddAttachment(string attachmentName, byte[] attachmentData, RectangleF rc, int page, AttachmentIconEnum icon, Color iconColor);
- public void AddAttachment(string attachmentName, byte[] attachmentData, RectangleF rc, AttachmentIconEnum icon, Color iconColor);
Improvements
- HTML rendering has been improved:
- There is better clipping at page breaks.
- Support for the CSS 'line-height' attribute has been added.
- Support for loading images into <img> tags has been added.
Bug Fixes
- Fixed incorrect direct and kerns problems for some Hebrew text.
- Fixed the problem for some Hebrew fonts that caused C1Pdf to crash.
- Pie is now rendered when the gradient brush is specified to fill Pie.
- Vertical text in a metafile image is now displayed in the correct position.
- Overlapping Japanese text is no longer observed when exporting the report definition file with Japanese characters to .pdf file format.
- The last several characters in a Japanese string are no longer getting truncated when using the DrawString method.
- When using PageAsMetafile and DrawImage to draw a meta file in a PDF, it no longer appears painted in black.
ReportDesigner for WinForms 2.6.20111.54308
Bug Fixes
- Fixed an issue (wrong image size in some scenarios) with the Gradient custom field.
- .NET 4.0 version only: New custom field - SuperLabel - added to the prebuilt C1.C1Report.CustomFields.4 assembly. SuperLabel allows to render HTML text using the C1SuperLabel control included in the C1.Win.C1SuperTooltip.4 assembly (part of ComponentOne Studio for WinForms). See the CustomFields sample for details. If you do NOT need the new functionality, remove the corresponding line from the C1ReportDesigner.exe.settings file.
- Fixed: when a field's size is set in the property page and then that field is moved, the size would sometimes change.
- When fields were moved or resized in the designer at certain zoom levels, the resulting coordinates (in twips) became fractional.
- When a table or view of a MSSQL server was selected as data source in the report wizard, the field list was not built.
- Error message ("Unspecified error") popped up in the report wizard when an Azure SQL data source was selected.
- Report Designer crashed if a font used by a predefined style was not installed on the system.
- For other changes and additions, see the Reports for WinForms version history.
Reports for WinForms 4.6.20111.54308
Breaking Changes and Improvements
- IMPORTANT NOTE for existing apps using the preview controls: If your existing form contains a C1PreviewPane (not the integrated C1PrintPreviewControl) AND a status bar created via the preview pane's designer action item, the form's InitializeComponent() method (usually contained in the form's .Designer.cs code file) must be manually updated, specifically the ToolStripProgressBar and ToolStripStatusLabel used by the preview must be assigned tags using the following lines: this.C1PreviewPane1_progressBar.Tag = "C1PreviewProgressBar"; this.C1PreviewPane1_statusText.Tag = "C1PreviewStatusLabel"; otherwise the progress bar and status might not work correctly.
- C1PreviewFileActions.FileOpen() method overloads now return object type (previously, they returned C1PrintDocument; this was changed to support C1MultiDocument).
- ComponentOne OLAP licensing was added.
New Features
- A New Component was added in this release: C1.C1Preview.C1MultiDocument. C1MultiDocument is designed to allow creating, persisting and exporting large documents that cannot be handled by a single C1PrintDocument object due to memory limitations. C1MultiDocument supports links between contained documents, common TOC and word index, continuous page numeration and total page count. For more information about C1MultiDocument, please see the Reports for WinForms documentation.
- .NET 4.0 version only: Export to XPS (XML Paper Specification) is now supported in WinForms build (C1MultiDocument is not yet supported).
- The following methods were added to C1Report to improve handling of large reports:
- public IEnumerable GetPageImages(); Enumerates page images (represented by metafiles) of the generated report. Using this method in a "foreach" loop allows to iterate over all pages of a large report without exhausting system resources. This approach is preferable to PageImages property that creates images for all pages and can consume a large amount of resources. Returns: An IEnumerable that allows to iterate over the page images.
- public Metafile GetPageImage(int pageIndex); Gets a metafile representing the specified page. pageIndex: 0-based page index. Returns: The metafile representing the page.
- public int GetPageCount(); Gets the total number of pages in the generated report. Returns: The total page count.
- The C1Report.PageImages property has been marked as obsolete as using the new methods described above is preferable.
- New public property added on C1PrintDocument:
- public PageNumberingChange PageNumberingChange {get;set;} Gets or sets the PageNumberingChange object applied to the first page of the document.
- Added support for the latest RTF implementation from Microsoft if that is available on the system: RTF window class: RICHEDIT60W, provided by riched20.dll shipped with MS Office 2007.
- New public static property added to C1.C1Preview.C1PrintOptions class:
-
- C1PrintOptions.MsPrintDocumentPrintEmfType {get;set;} Gets or sets the type of metafiles used when printing standard .NET PrintDocument documents. The default is EmfType.EmfPlusDual. If your printer needs to scan the output for data (for example, a fax number; a case in point is Tobit Faxware) and fails, try setting this to EmfType.EmfOnly. Note that this property ONLY affects printing of standard .NET PrintDocument documents, and has no bearing on other supported document types.
- Added support for C1MultiDocument (extension .c1mdx) in preview.
Bug Fixes
- Fixed: incorrect rendering of Hebrew text in C1Report.
- Fixed: several issues when exporting Hebrew text to PDF.
- Fixed: RecordsPerPage property was processed incorrectly in reports with groups.
- Added C1MultiDocument icon to .NET 2.0 build.
- Fixed wrong behavior of PageNumberingChangeModeEnum.Increment and PageNumberingChangeModeEnum.Set enumeration values.
- Changed representation of unresolved PageNo and HyperlinkPageNo tags during document generation from actual tag strings to "???".
- Fixed: several issues with incorrect rendering of Japanese text.
- Fixed: in export to HTML, exception occurred if an auto-generated image file name matched the name of an existing file.
- Fixed: wrong page size when exporting Custom Paper Size report sample to RTF (in part this is a limitation of the RTF format).
- Fixed: incorrect export to PDF if C1Report.EmfType is EmfPlusOnly.
- Fixed: export of large C1Report to PDF via RenderToFile could fail due to not enough resources.
- Fixed: overlapping of Japanese characters would sometimes occur when exporting a C1Report to PDF.
- Fixed: exception in HTML export with "preserve pagination" and "create canvases" turned off.
- Fixed: progress not shown when exporting a document via ProgressForm.
- Fixed: incorrect export of external links specified via LinkTarget in report fields to PDF.
- C1Report: fixed incorrect rendering of Asian text with text direction up.
- C1PrintDocument: fixed blurred rendering of RenderBarCode. NOTE: *C1PrintDocument.EmfType MUST BE SET to EmfOnly for pixel-perfect rendering of bar codes. This is a limitation that will be removed in one of future releases.
- Wrong "Source Tray" value (always "Upper") was used by default with printers that have different default (for example, "Auto"). Fixed.
- C1Report: in some cases report generation would froze if they contained a subreport with CanGrow set to false. Fixed.
- C1Report: Code128 barcode was generated with a low resolution and could not be scanned. Fixed.
- C1Report: when RecordsPerPage was set, a blank page was sometimes added to the end of the generated report. Fixed.
- C1Report: Field text aligned incorrectly if TextDirection was not Normal. Fixed.
- C1Report: unexpected page break could be added after a report header if it contained a subreport. Fixed.
- Fixed: in some scenarios, page number hyperlinks (such as in a TOC) in a C1MultiDocument showed "[LPN]" instead of the actual page numbers, and did not work when clicked, even after the whole document was generated.
- Fixed: status labels added to a status strip on a form that also contains a C1PrintPreviewControl might disappear both at design time (after reloading the designer) and at run time.
- Fixed several minor scrolling issues in non-continuous mode.
Ribbon for WinForms
New Features
- The following new features were added to Ribbon for WinForms in its 2011 v1 release:
- Added the DropDownAlign property to RibbonComboBox, RibbonMenu, RibbonSplitButton, RibbonDatePicker, and RibbonGallery. The property sets the alignment of the drop-down portion relative to the given component.
- Added the KeyTip property to RibbonListItem. Items of the 'Recent Documents' list on the right pane of the application menu are now accessible by their KeyTips.
- Added the Font and ForeColor properties to the contextual tab group object (RibbonContextualTabGroup component).
- Added a few Japanese strings for design-time localization.
- Added KeyTips to all Ribbon items.
- Now you can display KeyTips for ribbon items after pressing the ALT or F10 key in a C1RibbonForm with the C1Ribbon control. Added the KeyTip property to RibbonButton, RibbonTab, and other ribbon items. Also, added the GroupKeyTip and LauncherKeyTip properties to the RibbonGroup component.
- Added the GroupToolTip property to RibbonGroup. The property specifies the tooltip string for a collapsed group button or a group button on the QAT.
- Added the Active property to the ToolTipSettings class. The property indicates whether the tooltip is currently active.
- Added the Color property to the RibbonTab component. The new property allows changing color of individual tabs.
- Added the ContextualTabGroups property to C1Ribbon. This is the collection of RibbonContextualTabGroup components. Each tab group can contain a few RibbonTabs. The contextual tab groups appear in the title of C1RibbonForm.
- Added the MaxTextWidth property to the RibbonLabel component (0 by default - no restrictions). The property sets the maximum width of the label text, in pixels. The ellipsis character (...) appears at the right edge of the label, denoting that the text width extends beyond the specified width.
- Added the Selectable boolean property to C1Ribbon and C1StatusBar. The property indicates whether the control can receive the input focus (it's True by default).
Changes
- The following changes were made in Ribbon for WinForms in its 2011 v1 release:
- RibbonGroup.ToolTip property renamed to LauncherToolTip. The old property is now hidden but still available for backward compatibility.
- Changed the order in which ribbon groups are collapsed when resizing the ribbon. Now the right-most group collapses first, followed by the next right-most group, and so on.
Improvements
- Ribbon templates are updated. Changed appearance and behavior of the "Minimize Ribbon" button on the ConfigToolBar panel.
- Updated editor for the ToolTip property of various components.
- Improved the speed of KeyTips showing up under the Aero theme.
- Slightly updated the C1RibbonApplication project template.
- Improved appearance of text labels on the Quick Access Toolbar.
Bug Fixes
- The following bug fixes were made in Ribbon for WinForms in its 2011 v1 release:
- Fixed a bug: item images did not appear in the drop-down list of a RibbonComboBox.
- Fixed an issue where the contents of the selected RibbonTab in a RibbonContextualTabGroup was still visible although the Visible property of the ContextualTabGroup as set to False.
- An inconsistency is observed between border color of the ribbon tabs at design time and at run time when C1Ribbon's VisualStyle is set to Windows7.
- An error is no longer observed after adding a ContextualTabGroup with one or more tabs from the Collection Editor, then cancelling this operation.
- The 'More controls' QAT popup window no longer disappears while opening the QAT menu after clicking on Ribbon Numeric up/down button.
- Fixed a problem with drawing the 'More controls' button (next to the QAT) for the first time.
- Fixed a bug: an incorrect element appeared at the end of the tabs row after deleting a contextual tab group.
- Fixed a bug: RibbonNumericBox and RibbonDatePicker components were not editable if they are located on a contextual tab.
- Fixed a minor drawing issue at the bottom left/right corners of C1StatusBar "wearing" the Office2010Silver visual style.
- Fixed a minor layout issue with drawing the icon for an MDI child form under the Windows Aero color theme.
- Fixed a bug: the title bar of C1RibbonForm may be corrupted after changing Form's visual style from Office2010 to Windows7 (or vice versa) while C1Ribbon is in minimized state.
- Fixed an issue: all semi-transparent pixels appeared as black in the form icon if C1RibbonForm.VisualStyle is Office2010 or Windows7 or if RibbonApplicationMenu.Win7Look is True.
- Fixed issue and issue where an unhandled exception was seen when using QAT mnemonic character (AltoS) for the second time.
- Fixed a bug: an InvalidOperationException was thrown if visual styles are not applied to the client area of application windows (for example, if Application.VisualStyleState = NoneEnabled).
Schedule for WinForms 2.0.20111.156
Breaking Changes
- C1Schedule.FirstVisibleTime property has been marked as obsolete. Use C1ScheduleSettings.FirstVisibleTime property instead.
- Removed old obsolete properties ScheduleTheme.BackGround and ScheduleTheme.BackGround2. Use ScheduleTheme.CurrentPalette property instead.
New Features
- Added new property to the Appointment class:
-
- public Contact Owner {get; set; }
- Gets or sets the Contact object which owns current Appointment object.
- The default value is null.
- The AppointmentStorage object supports new optional mappings which allow to set either OwnerIndexMapping or OwnerIdMapping. For an example, look at the updated MultiUser sample.
- Added grouping support. The C1Schedule control supports grouping by resources, contacts, categories and by the Appointment.Owner property value. All C1Schedule vies and visual styles support grouping and contain UI for navigation between groups. The new Grouping sample demonstrates C1Schedule grouping functionality. Default printing styles and PrintDocTemplates sample have been updated to honor new grouping feature. MultiUser sample have been updated as well.
- New classes were added to support grouping:
-
- public class ScheduleGroupItem Holds all the data required for displaying individual UI part for the single resource, category or contact when the C1Schedule.GroupBy property is set, or default UI otherwise.
- public class ScheduleGroupItemCollection : C1ObservableCollection Represents a collection of the ScheduleGroupItem objects.
- New properties were added to the C1Schedule control to support grouping:
- public string GroupBy { get; set; } Gets or sets the string value determining the type of grouping. The default value is an empty string.
- public bool ShowGroupNavigation { get; set; } Gets or sets the Boolean value determining whether the C1Schedule control should display group navigation buttons. The default value is true. This property only makes sense when the GroupBy property is set.
- public bool ShowEmptyGroupItem { get; set; } Gets or sets the Boolean value determining whether the C1Schedule control should display an empty group item. This property only makes sense when the GroupBy property is set. If this property is set to True, the C1Schedule control will display a group item without assigned owner (resource, contact or category). This group item will contain all appointments, which don't fall into other group items. The default value is false.
- public string EmptyGroupName { get; set; } Gets or sets a String value used as default value for the ScheduleGroupItem.Name property. The default value is "Calendar".
- public ScheduleGroupItemCollection GroupItems { get; } Gets a collection of all available GroupItem objects for the currently set type of grouping.
- public ScheduleGroupItemCollection VisibleGroupItems { get; } Gets a collection of currently visible GroupItem objects.
- public bool IsGrouped { get; } Gets a Boolean value determining whether grouping has been set for the C1Schedule control.
- public ScheduleGroupItem SelectedGroupItem { get; } Gets the selected ScheduleGroupItem object or returns null if the selection is empty.
- public int GroupPageSize { get; set; } Gets or sets the Integer value determining the maximum number of the ScheduleGroupItem objects displayed in UI at the same time. Increasing this value might affect performance. The default value is 2.
- New C1Schedule method to support grouping: public void NavigateToScheduleGroup(int increment); Navigates the C1Schedule control back or forth to another ScheduleGroupItem object by the specified increment.
- Added new check box in the PrintOptionsForm. It allows to select whether to print all appointments or appointment from the currently selected group item only. If you use localized version of the C1Schedule control, make sure that you added new string there.
- Added new property to the C1Schedule control: public Comparison delegate which is used by the C1Schedule control to sort appointments in the Month and Office 2003 Week views. By default C1Schedule performs comparison with the new C1Schedule.Compare(Appointment x, Appointment y) method. This method compares appointments by the Appointment.Start property and then (if start time is the same) by the Appointment.Subject property. You can alter this behavior by supplying custom comparison.
- Added C1Calendar.BeforeDayFormat event. Use this event to alter default day appearance.
- Added Office 2010 Visual Styles for the C1Calendar and C1Schedule controls: Office 2010 Blue, Office 2010 Black, and Office 2010 Silver.
- Added the ability to change C1Schedule navigation panels and week tabs appearance from the C1Schedule Visual Style Smart Designer.
- Added new property to the C1Schedule class: C1ScheduleSettings Settings { get; }. The C1ScheduleSettings class determines auxiliary properties providing different C1Schedule object settings: AllowContactsEditing, AllowContactsMultiSelection, AllowResourcesEditing, AllowResourcesMultiSelection, AllowCategoriesEditing, AllowCategoriesMultiSelection, FirstVisibleTime, AutoScrollToFirstAppointment, SetReminder, and ReminderTimeBeforeStart. Default value for all AllowXXX properties is True. AppointmentForm and list editing forms honor above settings of the C1Schedule control.
Improvements
- Improved appointment layout in the Day/Working Week/Week views.
- Corrected Appointment element keyboard and mouse behavior:
- single click on the Appointment element selects appointment
- mouse left button click or pressing 'F2' button on the selected Appointment element switches appointment into inline edit mode
- mouse left button double click on the Appointment element opens Appointment dialog
- pressing 'Enter' button in inline edit mode finishes editing
- pressing 'Escape' button in inline edit mode cancels all changes.
- Corrected AppointmentForm behavior, so that it allows showing newly created appointments from the C1Schedule.BeforeAppointmentCreate event handler.
- Updated Japanese resources.
Bug Fixes
- Fixed backward compatibility issue with C1Calendar's custom themes which had been created with build 138 or earlier.
- Fixed issue where the cursor is displayed as 'SizeWE' on editing appointment.
- Fixed mouse selection issue.
- Fixed issue where the Appointment does not get selection by the right click.
- Fixed issue with unwanted appointment dragging if focus is in some other control.
- Fixed issue where if an appointment is shifted by moving the mouse very fast, there are cases that the BeforeAppointmentDrop event is not fired.
Sizer for WinForms
Bug Fixes
- C1SizerLight lost control sizes when windows was minimized and screen properties changed. Fixed.
SpellChecker for WinForms 2.0.20111.86
New Features
- A show wait cursor appears while adding words to the UserDictionary from the spell dialog.
Bug Fixes
- Fixed the issue when the Spell context menu collapsed the selection when invoked.
- Fixed the issue when the shortcuts of the context menu items lost in "spell as you type" mode.
- Improved handling of Eastern characters for example, Japanese.
- Wiggly underlines were not always removed when setting auto-spell to false.
- IndexOutOfRangeException occurs on check eastern text in C1Editor.
SuperTooltip for WinForms 2.0.20111.88
New Features
- Added a new C1SuperErrorProvider component. The C1SuperErrorProvider is similar to the standard ErrorProvider component, except it allows you do display rich error information using HTML instead of plain text.
- Adding a C1SuperErrorProvider control from the toolbox also creates a C1SuperTooltip and automatically connects it to the error provider.
- Added a toolbar to the Office tab in the SuperTooltip designer.
Improvements
- The behavior of the HTML editor for C1SuperTooltip and C1SuperLabel has been improved.
Bug Fixes
- The ToolTip property editor now appears in Visual Studio 2010 with German locale.
- The C1SuperTooltip designer remembers its layout settings until the user closes the Visual Studio IDE.
TrueDBGrid for WinForms 2.0.20111.61213
New Features
- Microsoft Office 2010 visual styles were added in this release. The VisualStyle property has three new settings that pretty match the look of Microsoft Excel 2010: Office2010Blue, Office2010Silver, and Office2010Black.
Bug Fixes
- The focus skips directly to the last column of second split when using Tab key to navigate between splits.
- An error "Filter expression [x]does not evaluate to a Boolean term" is observed when any operator is set in FilterOperator property.
- RowColChange event fires when you switch the MS tab control that containing C1TrueDBGrid.
- Even when the HeaderDivider property of a column is set to False, the divider is displayed between the headers at runtime.
- All columns of second split of a grid disappear when an application created in VS2003 is shifted to VS2010, and BorderStyle is set to Fixed3D.
- ArgumentOutOfRangeException is thrown after click the filter button.
- Values in filter dropdown of filter bar are not displayed in the grid on a machine which only have .NET Framework 2.0.
- An exception is throw when clicking filterbar drop down on Window 2000 machine with .NET Framework 2.0 only.
- Exception is thrown when deleting the selected data row after sorting.
- Locked combobox column can be expanded after expanding other unlock combobox column.
- ArgumentOutOfRangeException is thrown when inserting horizontal split after resizing the form.
- BeforeRowColumnChange event does not fire when the Column value is set using code.
- Even after setting the column’s AllowFocus property to False in the split, it is possible to shift focus on the first display.
- An exception is thrown if all columns are hidden in a multiple row display.
- While using split, Update event cannot be executed without ending the Editable state.
- On setting a background color to the column header, the border of the record selector gets removed.
- RowColChange event is not fired, if Col property is changed through code.
Zip for WinForms 2.1.20111.74
Bug Fixes
- Fixed the Zip64 issue. Headers are now written correctly for entries larger then 4 gigabytes.